﻿@model Website.Models.TruongHoc

@{
    ViewBag.Title = "Create";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="row-fluid">
        <div class="span12">
            <section class="utopia-widget">
            <div class="utopia-widget-title" style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: rgb(238, 238, 238); ">
            <img src="@Url.Content("/Content/Images/paragraph_justify.png")" class="utopia-widget-icon">
            <span>Thêm mới trường học</span></div><div class="utopia-widget-content" style="display: block; ">



@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>       

        <div class="editor-label">
            @Html.LabelFor(model => model.TenTruongHoc)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TenTruongHoc)
            @Html.ValidationMessageFor(model => model.TenTruongHoc)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LoaiTruong)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LoaiTruong)
            @Html.ValidationMessageFor(model => model.LoaiTruong)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DiaChi)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DiaChi)
            @Html.ValidationMessageFor(model => model.DiaChi)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DienThoai)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DienThoai)
            @Html.ValidationMessageFor(model => model.DienThoai)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NgayTao)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NgayTao)
            @Html.ValidationMessageFor(model => model.NgayTao)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NguoiPhuTrach)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NguoiPhuTrach)
            @Html.ValidationMessageFor(model => model.NguoiPhuTrach)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DienThoai_NguoiPhuTrach)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DienThoai_NguoiPhuTrach)
            @Html.ValidationMessageFor(model => model.DienThoai_NguoiPhuTrach)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email_NguoiPhuTrach)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email_NguoiPhuTrach)
            @Html.ValidationMessageFor(model => model.Email_NguoiPhuTrach)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Quota)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Quota)
            @Html.ValidationMessageFor(model => model.Quota)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HoatDong)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HoatDong)
            @Html.ValidationMessageFor(model => model.HoatDong)
        </div>

        <p>
            <input type="submit" value="Thêm mới" />
        </p>
    </fieldset>
}

   </section>
        </div>
    </div>
